package com.spark.incoicings.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spark.invoicings.entity.ReceivablePayableDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ReceivablePayableDetailMapper extends BaseMapper<ReceivablePayableDetail> {
    /**
     * 销售收款应收明细
     * */
    List<ReceivablePayableDetail> selectId(Integer customerId);

    /**
     * 采购付款应付明细
     * */
    List<ReceivablePayableDetail> selectPayment(Integer supplierId);

    /**
     * 条件分页查询
     * */
    List<ReceivablePayableDetail> select(Map<String,Object> map);
}
